package com.gxa.medical.service;

import com.gxa.medical.pojo.Talk;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TalkService {
    List<Map<String,Object>> selectAllByPage(Integer page, Integer size);
    Integer insert(Talk discuss);
    Integer delectById(Integer id);
    List<Map<String,Object>> selectById(@Param("talk_id") Integer id);
    List<Map<String,Object>>selectAllByim();
    List<Map<String,Object>> selectAllByNa();
    List<Map<String,Object>>selectByLike(@Param("talk_name") String name,@Param("talk_sigstaTime") String sigstaTime,@Param("talk_sigoverTime") String sigoverTime,@Param("talk_isud") Integer isud,@Param("page") Integer page,@Param("size") Integer size);
    Integer selectByDocName(String name);
    void insertDT(Integer doc_id,Integer talk_id);
    void insertInD(Integer invite_doc_id,Integer talk_id);
    void insertTPS(@Param("talk_id")Integer tid,@Param("doc_id") Integer did);
    Integer selectByUserName(String name);
    void insertUT(Integer user_id,Integer talk_id);
    List<Map<String,Object>>selectByI(@Param("id") Integer id);
    Integer selectCon();
    Integer selectConLike();
}
